<?php
/**
 * Created by PhpStorm.
 * User: chao
 * Date: 2018/9/8
 * Time: 22:24
 */

namespace app\controllers;

use app\components\AppController as Controller;
use yii\validators\EmailValidator;

class CustomerInfoController extends Controller
{
    public function actionSave(){
        $email_valid = new EmailValidator();
        $result = $email_valid->validate('123qq.com');

        var_dump($result);
    }
}